package com.muyu.danmo.domain;


import com.muyu.common.core.annotation.Excel;
import com.muyu.common.core.web.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 作品集收藏对象 danmo_portfolio_collection
 * 
 * @author yangle
 * @date 2024-12-02
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DanmoPortfolioCollection extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 作品集收藏唯一id */
    private Long collectionId;

    /** 个人信息id */
    @Excel(name = "个人信息id")
    private Long informationId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 收藏标签 */
    @Excel(name = "收藏标签")
    private String favoriteLabel;

    /** 图片 */
    @Excel(name = "图片")
    private String picture;


    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("collectionId", getCollectionId())
            .append("informationId", getInformationId())
            .append("userId", getUserId())
            .append("favoriteLabel", getFavoriteLabel())
            .append("picture", getPicture())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
